#ifndef GETSMSPIN_H
#define GETSMSPIN_H

#include "SessionHandler.h"
#include <QObject>

class QNetworkAccessManager;
class QNetworkRequest;
class QNetworkReply;

class GetSmsPin : public QObject, public SessionHandler
{
    Q_OBJECT
public:
    GetSmsPin();

protected:
    virtual void handleSession();

private slots:
    void onReplyFinished(QNetworkReply* reply);

private Q_SLOTS:
    void onPost(const QNetworkRequest& req, const QByteArray& baData);

private:
    QNetworkAccessManager* m_manager;
};

#endif // GETSMSPIN_H
